{% if post.commentCount%}
	<h3 id="comments">&#8220;{{post.title}}&#8221; 共有<span style='color:black;font-weight:bold;padding:0px 3px'>{{post.commentCount}}</span>条留言   </h3>
	<ol class="commentlist">
	{% for comment in post.comments %}
		<li class="{%cycle alt1,alt %}" id="comment-{{comment.id}}">
			<div class="gravatar"><img height="50" width="50" class="avatar avatar-50" src="{{comment.webUrl}}" alt=""/></div>
     		<div class="comments">
     		{%if comment.webUrl %}
				<a href="{{comment.webUrl}}" target="_blank">{{comment.userName}}</a>
			{% else %}{{comment.userName}}{%endif%}
			 	On <small class="commentmetadata"><a href="#comment-{{comment.id}}" title="">{{comment.date|date:"HH:mm:ss"}} at {{comment.date|date:"yyyy-MM-dd"}}</a> </small>
				<br />
				<p>{{comment.content}}</p>
			</div>
			<div class="clear"></div>
		</li>
	{%endfor%}
	</ol>
{%endif%}

<h3 id="respond">发表评论</h3>
<form action="{{site.url}}do?act=comment" method="post" id="commentForm">

<p><input type="text" name="author" id="author" value="{{user_name}}" size="22" tabindex="1" />
<label for="author" style="color:#D50000"><small>大名</small></label></p>

<p><input type="text" name="email" id="email" value="{{user_email}}" size="22" tabindex="2" />
<label for="email" style="color:#D50000"><small>邮箱</small></label></p>

<p><input type="text" name="url" id="url" value="{{user_url}}" size="22" tabindex="3" />
<label for="url"><small>网站</small></label></p>


<p><textarea name="content" id="comment" cols="100%" rows="5" tabindex="4"></textarea></p>

<p><input name="submit" type="submit" id="submit" tabindex="5" value="提交评论" />
</p>
<input type="hidden" name="postId" value="{{post.id}}" />
</form>
<div id="hiddenMessage" style="float:bottom; display:none"></div>